home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form frmDirectory
- BorderStyle = 0 'None
- ClientHeight = 3030
- ClientLeft = 3240
- ClientTop = 1620
- ClientWidth = 5745
- ControlBox = 0 'False
- Height = 3435
- Left = 3180
- LinkTopic = "Form2"
- MaxButton = 0 'False
- MDIChild = -1 'True
- MinButton = 0 'False
- ScaleHeight = 3030
- ScaleWidth = 5745
- ShowInTaskbar = 0 'False
- Top = 1275
- Visible = 0 'False
- Width = 5865
- Begin VB.TextBox txtQuote
- Height = 285
- Left = 4080
- TabIndex = 13
- Top = 2040
- Width = 1455
- End
- Begin VB.CommandButton cmdQuote
- Caption = "Quote"
- Height = 375
- Left = 3000
- TabIndex = 12
- Top = 2040
- Width = 975
- End
- Begin VB.TextBox txtPattern
- Height = 285
- Left = 4080
- TabIndex = 11
- Top = 360
- Width = 1335
- End
- Begin VB.TextBox txtDirectory
- Height = 285
- Left = 1320
- TabIndex = 8
- Top = 360
- Width = 1335
- End
- Begin VB.CommandButton cmdDirList
- Caption = "DirList"
- Height = 375
- Left = 3000
- TabIndex = 7
- Top = 360
- Width = 975
- End
- Begin VB.CommandButton cmdGetCurrentDirectory
- Caption = "GetCurDir"
- Height = 375
- Left = 240
- TabIndex = 6
- Top = 2040
- Width = 975
- End
- Begin VB.CommandButton cmdChangeDir
- Caption = "ChangeDir"
- Height = 375
- Left = 240
- TabIndex = 5
- Top = 360
- Width = 975
- End
- Begin VB.CommandButton cmdCdup
- Caption = "ParentDir"
- Height = 375
- Left = 240
- TabIndex = 4
- Top = 2520
- Width = 975
- End
- Begin VB.CommandButton cmdMakeDir
- Caption = "MakeDir"
- Height = 375
- Left = 240
- TabIndex = 3
- Top = 840
- Width = 975
- End
- Begin VB.TextBox txtMakeDir
- Height = 285
- Left = 1320
- TabIndex = 2
- Top = 840
- Width = 1335
- End
- Begin VB.CommandButton cmdDelDir
- Caption = "DelDir"
- Height = 375
- Left = 240
- TabIndex = 1
- Top = 1320
- Width = 975
- End
- Begin VB.TextBox txtDelDir
- Height = 285
- Left = 1320
- TabIndex = 0
- Top = 1320
- Width = 1335
- End
- Begin VB.Label Label3
- Caption = "Command:"
- Height = 255
- Left = 4080
- TabIndex = 14
- Top = 1800
- Width = 975
- End
- Begin VB.Label Label2
- Caption = "Pattern:"
- Height = 255
- Left = 4080
- TabIndex = 10
- Top = 120
- Width = 975
- End
- Begin VB.Label Label1
- Caption = "Directory:"
- Height = 255
- Left = 1320
- TabIndex = 9
- Top = 120
- Width = 1335
- End
- Attribute VB_Name = "frmDirectory"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub cmdCdup_Click()
- ClearListDir
- MainForm.Ftp1.Action = FtpActionParentDir
- End Sub
- Private Sub cmdChangeDir_Click()
- Dim s As String
- s = txtDirectory.Text
- If (s <> "") Then
- ClearListDir
- MainForm.Ftp1.Directory = s
- MainForm.Ftp1.Action = FtpActionChangeDir
- End If
- End Sub
- Private Sub cmdDelDir_Click()
- MainForm.Ftp1.Directory = txtDelDir.Text
- MainForm.Ftp1.Action = FtpActionDeleteDir
- End Sub
- Private Sub cmdDirList_Click()
- ClearListDir
- MainForm.Ftp1.Pattern = txtPattern.Text
- MainForm.Ftp1.Action = FtpActionGetDirList
- ' MainForm.Ftp1.Action = FtpActionGetFilenameList
- End Sub
- Private Sub cmdMakeDir_Click()
- MainForm.Ftp1.Directory = txtMakeDir.Text
- MainForm.Ftp1.Action = FtpActionCreateDir
- End Sub
- Private Sub cmdGetCurrentDirectory_Click()
- MainForm.Ftp1.Action = FtpActionGetCurrentDir
- End Sub
- Private Sub cmdQuote_Click()
- MainForm.Ftp1.QuoteCmd = txtQuote.Text
- MainForm.Ftp1.Action = FtpActionQuote
- End Sub
-